<?php
require_once("setting.inc.php");

if (!$forward) $forward = HTTP_REFERER;
if ($dosubmit)
{
    $priv_role->update('module', $module, $priv_roleid);
    showmessage($LANG['save_setting_success'], $forward);
} 
else
{
    $privs = include MOD_ROOT . '/priv/priv.inc.php';
    include 'templates/priv.tpl.php';
} 

?>